

<extend name="./Application/Admin/View/layout.html"/>
<block name="content">


            <!-- start: Content -->
            <div id="content" class="span10">


            <ul class="breadcrumb">
                <li>
                    <i class="icon-home"></i>
                    <a href="index.html">后台</a>
                    <i class="icon-angle-right"></i>
                </li>
                <li>
                    <i class="icon-edit"></i>
                    <a href="#">权限添加</a>
                </li>
            </ul>

            <div class="row-fluid sortable">
                <div class="box span12">
                    <div class="box-header" data-original-title>
                        <h2><i class="halflings-icon white edit"></i><span class="break"></span>权限添加</h2>
                        <div class="box-icon">
                            <a href="#" class="btn-setting"><i class="halflings-icon white wrench"></i></a>
                            <a href="#" class="btn-minimize"><i class="halflings-icon white chevron-up"></i></a>
                            <a href="#" class="btn-close"><i class="halflings-icon white remove"></i></a>
                        </div>
                    </div>
                    <div class="box-content">
                        <form class="form-horizontal" method="post" action="">
                          <fieldset>
                              <div class="control-group">
                                <label class="control-label"  for="selectError3">权限模块</label>
                                <div class="controls">
                                  <select name="nav_id" id="selectError3">
                                    <foreach name="laynav" item="v">
                                    <option value="{$v.id}">{$v.name}</option>
                                    </foreach>
                                  </select>
                                </div>
                              </div>
                              <div class="control-group">
                              <label class="control-label" for="typeahead">权限名称 </label>
                              <div class="controls">
                                <input type="text" name="title" class="span3 typeahead" id="typeahead"  data-provide="typeahead" data-items="4" >
                              </div>
                            </div>
                            <div class="control-group">
                              <label class="control-label" for="typeahead">权限规则 </label>
                              <div class="controls">
                                <input type="text" name="name" class="span3 typeahead" id="typeahead"  data-provide="typeahead" data-items="4" >
                              </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">是否启用</label>
                                <div class="controls">
                                  <label class="radio">
                                    <input type="radio" name="status" value="1" id="optionsRadios1" value="option1" checked="">
                                    启用
                                  </label>
                                  <label class="radio">
                                    <input type="radio" name="status" value="0" id="optionsRadios2" value="option2">
                                    禁用
                                  </label>
                                </div>
                              </div>
                              <div class="control-group">
                                <label class="control-label">权限区域</label>
                                <div class="controls">
                                  <label class="radio">
                                    <input type="radio" name="is_home" value="1" id="optionsRadios1" value="option1" >
                                    前台
                                  </label>
                                  <label class="radio">
                                    <input type="radio" name="is_home" value="0" id="optionsRadios2" value="option2" checked="">
                                    后台
                                  </label>
                                </div>
                              </div>
                            <div class="form-actions">
                              <button type="submit" class="btn btn-primary">保存</button>
                              <button type="reset" class="btn">清空</button>
                            </div>
                          </fieldset>
                        </form>

                    </div>
                </div><!--/span-->

            </div><!--/row-->
            <div class="row-fluid">
      </div>




    </div><!--/.fluid-container-->

            <!-- end: Content -->
</block>
<block name="js">

<script src="__ADMIN__js/jquery-1.9.1.min.js"></script>
  <script  type="text/javascript">
    $(function(){

    })
  </script>
</block>